local CommonOHOH = _G.CommonOHOH;
local M = CommonOHOH.class.new(script, script.Parent.base,script.Parent.Name);
local Tool=_G.CommonOHOH.load.WeaponTool();


function M.new(self, ...)
	return M(self, ...);
end;


-- function M.ctor(self,equiId,character,player)
--     M.super.ctor(self,equiId,character,player);
--     self:AddPrivateComponent(script.Parent.com.broadCast)
--     self:Bind2character()
-- end;




-- function M.dtor(self)
-- 	M.super.dtor(self);
-- end;

-- --装备到玩家身上处理
-- function M.Bind2character(self)
--     local leftCf=self.character.main_inst.LeftHand.CFrame
--     self.main_inst.CFrame=leftCf:ToWorldSpace(self.main_inst.leftHand.CFrame)
--     local w=Instance.new("WeldConstraint",self.main_inst)
--     w.Part0=self.main_inst
--     w.Part1=self.character.main_inst.LeftHand
--     w.Name=self.equiId
-- end

-- --广播给其它客户端
-- function M.BroadcastOther(self,arg)
--     self.StartAttackEvent:Action(arg)
-- end


function M.ctor(self,...)
    M.super.ctor(self,...);
end;

function M.dtor(self)
	M.super.dtor(self);
end;

return M;
